<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
	<head>
		<link href="../css/cards.css" rel="stylesheet" type="text/css" />
		<title>Planning Poker</title>
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
		<script type="text/javascript" src="../js/cards.js"></script>
		<script type="text/javascript">
			var board = new Board('board', 0);
			$(document).ready(function(){
				
				board.draw('#container');						
				});
			function createNewCard(value) {
				board.addCard();
				var card = new Card(value, 'board');
				card.draw();			
			}
		</script>
	</head>
	<body>
	<div id="container">
		<div id="header">
		</div>
		<div id="bar">
			<input type="button" id="new-card" onclick="createNewCard(5);" value="Nueva Carta"></input>
		</div>		
	</div>
	</body>
<html>
